package com.gonetbar.base.dao;

import java.util.List;

import com.gonetbar.base.vo.BasePageVObj;
import com.gonetbar.base.vo.PageBean;

/**
 * 
 * @author weisd
 *
 */
public interface BaseDao {

	public Object addObject(String sqlid,Object obj);
	
	public int updateObject(String sqlid,Object obj);
	
	public int deleteObject(String sqlid,Object obj);
	
	public Object findObject(String sqlid,Object obj);
	
	//TODO 
	//public PageBean queryListPage(String countSqlid,String dataSqlid,BasePageVObj obj,int currentlyPage,int pageSize) ;
	
	public List queryList(String sqlid,Object obj);
	
	public String getSql(String sqlid,Object obj);

}
